package cn.gorit.dto.system;

/**
 * @version v1.0
 * @Classname TimeLineDto
 * @Description 时间轴 DTO
 * @Author CodingGorit
 * @Created on 2021/4/11 15:34
 * @IDLE IntelliJ IDEA
 **/
public class TimeLineDto {
    // 时间轴唯一的自增 ID
    private Integer id;

    // 时间轴标题
    private String title;

    // 时间轴内容
    private String content;

    // 时间轴创建时间
    private String createTime;

    // 更新会用到的 版本
    private Integer version;

    public TimeLineDto() {}

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return "TimeLineDto{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", createTime='" + createTime + '\'' +
                ", version=" + version +
                '}';
    }
}
